package com.smart.community.admin.common.constants;

/**
 * @author zhangwei
 */
public interface SysUserConstants {
    interface UserValidation {
        String USERNAME_VALID_REGEXP_PATTERN = "^[a-zA-Z][a-zA-Z0-9]{7,15}$";
        String USERNAME_VALID_MESSAGE = "用户名格式不正确,请输入8-16字母开头";

        String PASSWORD_VALID_REGEXP_PATTERN = "^[A-Z][a-zA-Z0-9]{7,15}$";
        String PASSWORD_VALID_MESSAGE = "密格式不正确,请输入8-16首字母必须大写";

        String PHONE_VALID_REGEXP_PATTERN = "^1[3-9][0-9]{9}$";
        String PHONE_VALID_MESSAGE = "手机号格式不正确";

        String CODE_VALID_MESSAGE = "请输入正确的6位验证码";
    }


}
